package com.example.createservice.service;

import com.example.bean.Orders;
import com.example.bean.User;
import com.example.createservice.mapper.OrderDao;
import com.example.createservice.mapper.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired(required=false)
    private UserDao userDao;

    public User save_user(User user){
        return userDao.insert(user);
    }
}
